<?php $view->extend('::base.html.php') ?>
<div class="row">
<div class="span7">
<div class="guide">
<form action="<?php echo $view['router']->generate('guides_add') ?>" method="post" <?php echo $view['form']->enctype($form); ?>>
	<?php echo $view['form']->row($form['title']) ?>
	<div chapterscontainer class="chapters" dataprototype="<?php echo $view->escape($view['form']->widget($form['chapters']->vars['prototype']['title']) . $view['form']->widget($form['chapters']->vars['prototype']['rawText'])) ?>">

	</div>
	
	<?php echo $view['form']->widget($form['_token']) ?>
    <input type="submit" name="submit" value="Save"/>
    <input type="submit" name="submit" value="Publish"/>
</form>
</div>
</div>
<div class="span3">Guide menu</div>
</div>